[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Overview

    This  unit  replaces  GetMem  and  FreeMem.   When  using  the  Turbo
    Pascal  Heap  (in  Version  6),  you  will  find  that  you  are  not
    permitted to get more than 64 kb.

    By using {$M <StackSize>,0,0} in  your  program, no heap is allocated
    for your program.  This  leaves  all  that  memory  available to DOS.
    You can then get blocks of this  memory  from  the procedures in this
    unit, even blocks greater than 64 kb.

    This unit  can  also  replace  the  Graph.GetImage  function  as  the
    function does not  give  values  for  sprites  greater  than 64 kb in
    size.

    To use this unit,  simply  place  DosMem  as  the  last  unit in your
    Uses  statement.   Any   GetMem's   will   then  use  the  DOS  heap.
    If  you  still  want  to  use   the   Pascal   Heap  you  can,  using
    System.GetMem.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson